package com.example.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 * @TableName session_message
 */
@TableName(value ="session_message")
@Data
public class SessionMessage {
    /**
     * 
     */
    @TableId(value = "message_id")
    private String messageId;
    /**
     *
     */
    @TableField(value = "session_id")
    private String sessionId;

    /**
     * 
     */
    @TableField(value = "role")
    private String role;

    /**
     * 
     */
    @TableField(value = "content")
    private String content;

    /**
     * 
     */
    @TableField(value = "message_order")
    private Long messageOrder;

    /**
     * 
     */
    @TableField(value = "is_delete")
    private Integer deleteFlag;

    /**
     * 
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

}